import Vue from "vue";
import Vuex from "vuex";
import moment from "moment";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    userInfo: "",
    token: "",
  },
  mutations: {
    SET_USER_INFO(state, data) {
      state.userInfo = data;
    },
    SET_USER_TOKEN(state, data) {
      state.token = data;
    },
  },
  actions: {},
});
